/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Main;

import Carros.Carro;
import Carros.CarroFactory;

/**
 *
 * @author Usuario
 */
public class Factory {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        
        Carro carro = CarroFactory.getCarro("Celta");
        System.out.print("Preço: R$" + carro.getPreco());
    }
}//fim da classe Factory
